﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Messhall.Framework.Domain.DomainObject;

namespace Messhall.Domain.System.BusinessObjects
{
    public class Menu : EntityBoBase
    {
        #region 成员变量

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Title { get; private set; }

        /// <summary>
        /// Code
        /// </summary>
        public string Code { get; private set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; private set; }

        /// <summary>
        /// 父菜单Code
        /// </summary>
        public string ParentCode { get; private set; }

        #endregion

        public Menu(string title, string code, string parentCode, string remark)
        {
            Title = title;
            Code = code;
            ParentCode = parentCode;
            Remark = remark;
        }


    }
}
